# -*- coding: utf-8 -*- 
import sys, os

from setuptools import setup, find_packages

version = '0.5'

here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
VERSION = open(os.path.join(here, 'VERSION.txt')).readline().rstrip()

setup(name='repoze.what.plugins.mongodb',
      version=VERSION,
      description="The repoze.what mongoDB plugin",
      long_description=README,
      classifiers=[
        "Development Status :: 4 - Beta",
        "Environment :: Web Environment",
        "Intended Audience :: Developers",
        "Natural Language :: English",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Topic :: Database",
        "Topic :: Internet :: WWW/HTTP :: WSGI",
        "Topic :: Security"
		],
      keywords='web application wsgi server wsgi mongodb authorization repoze',
      author='Renzo Sanchez-Silva',
      author_email='renzo@edac.unm.edu',
      namespace_packages = ['repoze', 'repoze.what', 'repoze.what.plugins'],
      url='http://code.google.com/p/repoze-what-plugins-mongodb/',
      license='Apache License, Version 2.0',
      #packages=find_packages(exclude=['ez_setup', 'tests']),
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      tests_require=['repoze.what', 'pymongo', 'coverage', 'nose'],
      install_requires=[
		'repoze.what >= 1.0.3',
		'pymongo'
      ],
      test_suite='nose.collector',	
	  platforms=['any']	
      )
